/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.entity.breedinfo;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 养殖品信息Entity
 * @author lj
 * @version 2018-04-16
 */
public class AcqBreedInfo extends DataEntity<AcqBreedInfo> {
	
	private static final long serialVersionUID = 1L;
	private String id;
	private String acqFarmerId;		// acq_farmer_id
	private String acqBreedId;		// 养殖品类
	private String acqBreedName; //品种名称
	private String scale;		// 面积(数量)
	private String esOutput;		// 预计产量
	private Date esReturnDate;		// 预计收益时间
	private String level;		// 产品等级
	private String photo;		// 图片信息
	private String gps;		// gps定位
	private String des;
	private String breedUnit;
	private String returnUnit;
	private String photoProduce;
	private String fName;
	private String cName;
	
	
	
	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public String getcName() {
		return cName;
	}

	public void setcName(String cName) {
		this.cName = cName;
	}

	public String getPhotoProduce() {
		return photoProduce;
	}

	public void setPhotoProduce(String photoProduce) {
		this.photoProduce = photoProduce;
	}

	public AcqBreedInfo() {
		super();
	}

	public AcqBreedInfo(String id){
		super(id);
	}
	
	
	

	public String getBreedUnit() {
		return breedUnit;
	}

	public void setBreedUnit(String breedUnit) {
		this.breedUnit = breedUnit;
	}

	public String getReturnUnit() {
		return returnUnit;
	}

	public void setReturnUnit(String returnUnit) {
		this.returnUnit = returnUnit;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public String getAcqBreedName() {
		return acqBreedName;
	}

	public void setAcqBreedName(String acqBreedName) {
		this.acqBreedName = acqBreedName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Length(min=0, max=64, message="acq_farmer_id长度必须介于 0 和 64 之间")
	public String getAcqFarmerId() {
		return acqFarmerId;
	}

	public void setAcqFarmerId(String acqFarmerId) {
		this.acqFarmerId = acqFarmerId;
	}
	
	@Length(min=0, max=64, message="养殖品类长度必须介于 0 和 64 之间")
	public String getAcqBreedId() {
		return acqBreedId;
	}

	public void setAcqBreedId(String acqBreedId) {
		this.acqBreedId = acqBreedId;
	}
	
	@Length(min=0, max=64, message="面积(数量)长度必须介于 0 和 64 之间")
	public String getScale() {
		return scale;
	}

	public void setScale(String scale) {
		this.scale = scale;
	}
	
	@Length(min=0, max=64, message="预计产量长度必须介于 0 和 64 之间")
	public String getEsOutput() {
		return esOutput;
	}

	public void setEsOutput(String esOutput) {
		this.esOutput = esOutput;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getEsReturnDate() {
		return esReturnDate;
	}

	public void setEsReturnDate(Date esReturnDate) {
		this.esReturnDate = esReturnDate;
	}
	
	@Length(min=0, max=4, message="产品等级长度必须介于 0 和 4 之间")
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}
	
	public String getGps() {
		return gps;
	}

	public void setGps(String gps) {
		this.gps = gps;
	}
	
}